package org.dromara.demo.domain.dto;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 货物明细数据传输对象
 */
public class CargoItemDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 业务表单ID
     */
    private Long formId;

    /**
     * 货物名称
     */
    private String cargoName;

    /**
     * 货物数量
     */
    private Integer cargoQuantity;

    /**
     * 货物重量
     */
    private BigDecimal cargoWeight;

    /**
     * 货物价值
     */
    private BigDecimal cargoValue;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFormId() {
        return formId;
    }

    public void setFormId(Long formId) {
        this.formId = formId;
    }

    public String getCargoName() {
        return cargoName;
    }

    public void setCargoName(String cargoName) {
        this.cargoName = cargoName;
    }

    public Integer getCargoQuantity() {
        return cargoQuantity;
    }

    public void setCargoQuantity(Integer cargoQuantity) {
        this.cargoQuantity = cargoQuantity;
    }

    public BigDecimal getCargoWeight() {
        return cargoWeight;
    }

    public void setCargoWeight(BigDecimal cargoWeight) {
        this.cargoWeight = cargoWeight;
    }

    public BigDecimal getCargoValue() {
        return cargoValue;
    }

    public void setCargoValue(BigDecimal cargoValue) {
        this.cargoValue = cargoValue;
    }
}